package thinking.in.spring.ioc.container.overview.domain;

/**
 * @author ZhenWuWang
 */
public class UserHolder
{
    private User user;

    private Integer num;

    public UserHolder(User user)
    {
        this.user = user;
    }

    public UserHolder()
    {
    }

    public User getUser()
    {
        return user;
    }

    public void setUser(User user)
    {
        this.user = user;
    }

    public Integer getNum()
    {
        return num;
    }

    public void setNum(Integer num)
    {
        this.num = num;
    }

    @Override
    public String toString()
    {
        return "UserHolder{" +
                "user=" + user +
                ", num=" + num +
                '}';
    }
}
